<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html"%>
    <script type="text/javascript" src="${ctx}/appjs/tenant/user/modifyPwd.js"></script>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <div class="columns pull-left">
                        <h5 class="font-bold">修改密码</h5>
                    </div>
                    <div class="ibox-tools">
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form id="frmPassword" name="frmPassword">
                        <input id="platformUserId" name="platformUserId" type="hidden" value="${user.tenantUserId}" />

                        <div class="form-group row">
                            <label class="col-sm-2 col-form-label text-right">旧密码：</label>
                            <div class="col-sm-5">
                                <input id="oldPw" name="oldPw" class="form-control" type="password">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-2 col-form-label text-right">新密码：</label>
                            <div class="col-sm-5">
                                <input id="newPw" name="newPw" class="form-control" type="password">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-2 col-form-label text-right">重复新密码：</label>
                            <div class="col-sm-5">
                                <input id="repNewPw" name="repNewPw" class="form-control" type="password">
                            </div>
                        </div>
<%--                        <div class="form-group row">--%>
<%--                            <label class="col-sm-2 col-form-label text-right">手机验证码：</label>--%>
<%--                            <div class="col-sm-4">--%>
<%--                                <input id="authCode" name="authCode" autocomplete="off" class="form-control" type="text" width="100"/>--%>
<%--                            </div>--%>
<%--                            <div class="col-sm-2">--%>
<%--                                <button type="button" class="btn btn-primary" onclick="modifyPwd.getAuthCode()">获取验证码</button>--%>
<%--                            </div>--%>
<%--                        </div>--%>
                        <div class="form-group">
                            <div class="col-sm-3 col-sm-offset-8 text-right">
                                <button type="submit" class="btn btn-success">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    modifyPwd.init();
</script>
</body>
</html>
